package config

type Server struct {
	JWT     JWT     `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
	Zap     Zap     `mapstructure:"zap" json:"zap" yaml:"zap"`
	Email   Email   `mapstructure:"email" json:"email" yaml:"email"`
	Casbin  Casbin  `mapstructure:"casbin" json:"casbin" yaml:"casbin"`
	System  System  `mapstructure:"system" json:"system" yaml:"system"`
	Captcha Captcha `mapstructure:"captcha" json:"captcha" yaml:"captcha"`
	// auto
	AutoCode Autocode `mapstructure:"autoCode" json:"autoCode" yaml:"autoCode"`
	// gorm
	Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
	// oss
	Local  Local  `mapstructure:"local" json:"local" yaml:"local"`
	ApiLog ApiLog `mapstructure:"api-log" json:"api-log" yaml:"api-log"`
	Ldap   Ldap   `mapstructure:"ldap" json:"ldap" yaml:"ldap"`
	Log    Log    `mapstructure:"log" json:"log" yaml:"log"`
}
